import request from '@/utils/request';

export async function getcompanyprofile(companyId) {
    return request(`/api/oa/v1/company/getcompanyprofile/${companyId}`);
}

export async function getTree(oid) {
    return request('/api/oa/v1/org/getorgtree', {
        method: 'GET',
        params: {
            oid
        }
    });
}
